package com.hspedu.tankgame;

import javax.swing.*;

/**
 * @author DL5O
 * @version 1.0
 */
public class YwlTankGame01 extends JFrame {
    MyPanel mp = null;
    public static void main(String[] args) {
        YwlTankGame01 ywlTankGame01 = new YwlTankGame01();

    }

    public YwlTankGame01(){
        mp = new MyPanel();
        this.add(mp);//把面板(就是游戏的绘图区域)塞进去
        this.setSize(1000,750);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }

}
